<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/7
 * Time: 16:53
 */
use think\facade\Route;

Route::get('GreenWinterRecord', 'admin/Activity/greenWinterRecord');  //暖冬礼物
Route::post('GreenWinterRecordData', 'admin/Activity/greenWinterRecordData');  //暖冬礼物数据添加
Route::get('GreenWinterAgree', 'admin/Activity/greenWinterAgree');  //同意

//速配红包
Route::get('PacketRuleIndex', 'admin/RedPacket/packetRuleIndex');
Route::get('PacketRuleIndexData', 'admin/RedPacket/packetRuleIndexData');
Route::post('PacketRuleAdd', 'admin/RedPacket/packetRuleAdd');
Route::get('PacketRuleChangeStatus', 'admin/RedPacket/packetRuleChangeStatus');
Route::get('PacketRuleEdit', 'admin/RedPacket/packetRuleEdit');

Route::get('PacketRecordIndex', 'admin/RedPacket/packetRecordIndex');
Route::get('PacketRecordIndexData', 'admin/RedPacket/packetRecordIndexData');
Route::get('PacketRecordCountData', 'admin/RedPacket/packetRecordCountData');

//双十二集勋章兑换礼物
Route::get('HonorIndex', 'admin/Activity/honorIndex');
Route::get('HonorIndexData', 'admin/Activity/honorIndexData');
Route::get('ActivityRank', 'admin/Activity/activityRank');
Route::get('ActivityExport', 'admin/Activity/activityExport');

//砸蛋房奖品
Route::rule('GoldRoomPrizeIndex', 'admin/GoldRoom/prizeIndex');
Route::rule('GoldRoomPrizeIndexData', 'admin/GoldRoom/prizeIndexData');
Route::rule('GoldRoomPrizeEdit', 'admin/GoldRoom/prizeEdit');
Route::rule('GoldRoomPrizeChangePrizeStatus', 'admin/GoldRoom/changePrizeStatus');
Route::rule('GoldRoomPrizeAdd', 'admin/GoldRoom/prizeSave');
Route::get('BoxGift', 'admin/GoldRoom/boxGift');  //动态获取奖品

//宝箱类别
Route::rule('GoldEggIndex', 'admin/GoldEgg/index');
Route::rule('GoldEggIndexData', 'admin/GoldEgg/indexData');
Route::rule('GoldEggAdd', 'admin/GoldEgg/save');
Route::rule('GoldEggDel', 'admin/GoldEgg/delete');
Route::rule('GoldEggEdit', 'admin/GoldEgg/edit');
Route::post('GoldEggEditData', 'admin/GoldEgg/editData');  //修改后提交的数据

//砸蛋房添加
Route::rule('GoldRoomIndex', 'admin/GoldRoom/index');
Route::rule('GoldRoomIndexData', 'admin/GoldRoom/indexData');
Route::rule('GoldRoomAdd', 'admin/GoldRoom/add');
Route::rule('GoldRoomDel', 'admin/GoldRoom/del');



//普通房间设置全服
Route::rule('SendUserGift', 'admin/GoldRoom/sendUserGift');
Route::get('SendUserGiftData', 'admin/GoldRoom/sendUserGiftData');
Route::rule('SendUserGiftAdd', 'admin/GoldRoom/sendUserGiftAdd');
Route::rule('SendUserGiftDel', 'admin/GoldRoom/sendUserGiftDel');
//砸蛋房间设置全服
Route::rule('GoldRoomSendUserGift', 'admin/GoldRoom/goldRoomSendUserGift');
Route::get('GoldRoomSendUserGiftData', 'admin/GoldRoom/goldRoomSendUserGiftData');
Route::rule('GoldRoomSendUserGiftAdd', 'admin/GoldRoom/goldRoomSendUserGiftAdd');
Route::rule('GoldRoomSendUserGiftDel', 'admin/GoldRoom/goldRoomSendUserGiftDel');

//控制轮数出全服
Route::rule('SetLoop', 'admin/GoldRoom/setLoop');
Route::rule('SetLoopAdd', 'admin/GoldRoom/setLoopAdd');
Route::rule('SetLoopDel', 'admin/GoldRoom/setLoopDel');

//添加房间流水二维码
Route::rule('EspecialRoom', 'admin/Activity/especialRoom');
Route::rule('EspecialRoomData', 'admin/Activity/especialRoomData');
Route::rule('EspecialRoomAdd', 'admin/Activity/especialRoomAdd');
Route::rule('EspecialRoomDel', 'admin/Activity/especialRoomDel');

//1234
//1234砸蛋厅奖品
Route::rule('GoldEggsPrizeIndex', 'admin/GoldRoom/goldEggsPrizeIndex');
Route::rule('GoldEggsPrizeIndexData', 'admin/GoldRoom/goldEggsPrizeIndexData');
Route::rule('GoldEggsPrizeEdit', 'admin/GoldRoom/goldEggsPrizeEdit');
Route::rule('GoldEggsPrizeChangeStatus', 'admin/GoldRoom/goldEggsPrizeChangeStatus');
Route::rule('GoldEggsPrizeAdd', 'admin/GoldRoom/goldEggsPrizeAdd');


/*开宝箱控制轮数和用户相关路由*/
Route::rule('LoopHistory', 'admin/Balloon/loopHistory');//控制轮数首页
Route::get('LoopHistoryData', 'admin/Balloon/loopHistoryData');//历史指定数据
Route::get('LoopToogle', 'admin/Balloon/loopToogle');//停服与切换
Route::rule('LoopUserDataAdd', 'admin/Balloon/loopUserDataAdd');//指定用户数据入库
Route::get('LoopUserDataDel', 'admin/Balloon/loopUserDataDel');//取消指定
Route::rule('LoopSetData', 'admin/Balloon/loopSetData');//控制轮数数据
Route::rule('LoopSetDataAdd', 'admin/Balloon/loopSetDataAdd');//控制轮数数据入库
Route::rule('LoopSetDataDel', 'admin/Balloon/loopSetDataDel');//控制轮数数据删除
Route::get('changeGift', 'admin/Balloon/changeGift');//根据类型获取礼物

//抽奖数据
Route::get('DrawData', 'admin/Activity/drawData');
